From e1c314797b44db7fc3a3373b2d54cce1607eddba Mon Sep 17 00:00:00 2001 From: Lukas Voegl Date: Fri, 27 Jun 2025 12:36:57 +0200 Subject: [PATCH] treewide: include `nls.mk` when depending on glib2 When compiling glib2 with NLS, it automatically sets linker flags to `-lglib-2.0 -lintl` in pkg-config (.pc) files. Signed-off-by: Lukas Voegl (cherry picked from commit 7ee547b4402b85ff3ede78cdcd997484fc620fa4) --- libs/glib-networking/Makefile | 1 + sound/fluidsynth/Makefile | 1 + utils/swanmon/Makefile | 1 + 3 files changed, 3 insertions(+) diff --git a/libs/glib-networking/Makefile b/libs/glib-networking/Makefile index 962349d2a2..e0bf48ea99 100644 --- a/libs/glib-networking/Makefile +++ b/libs/glib-networking/Makefile @@ -15,6 +15,7 @@ PKG_CPE_ID:=cpe:/a:gnome:glib-networking include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/meson.mk +include $(INCLUDE_DIR)/nls.mk MESON_ARGS += \ -Dgnutls=enabled \ diff --git a/sound/fluidsynth/Makefile b/sound/fluidsynth/Makefile index 25779f4bc5..f8bad01f2e 100644 --- a/sound/fluidsynth/Makefile +++ b/sound/fluidsynth/Makefile @@ -14,6 +14,7 @@ PKG_LICENSE_FILES:=LICENSE include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/cmake.mk +include $(INCLUDE_DIR)/nls.mk CMAKE_INSTALL:=1 diff --git a/utils/swanmon/Makefile b/utils/swanmon/Makefile index 6dd9675734..c523ae634e 100644 --- a/utils/swanmon/Makefile +++ b/utils/swanmon/Makefile @@ -24,6 +24,7 @@ PKG_BUILD_PARALLEL:=1 include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/cmake.mk +include $(INCLUDE_DIR)/nls.mk define Package/swanmon SECTION:=utils -- 2.30.2